package com.chmingx.boot.service;

import com.chmingx.boot.bean.User;
import com.chmingx.boot.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper = null;

    public User getUserById(int id) {
        return userMapper.getUserById(id);
    };

}
